﻿using DAL;
using DAL.DataTransferObject;
using System;
using System.Collections.Generic;
using System.Data;
using System.Text;

namespace BAL
{
    public class KhachHangBAO
    {
        public static KhachHangDAO khBAO = new KhachHangDAO();    
        public void KhachHang_AddNew(KhachHang kh)
        {
            khBAO.KhachHang_AddNew(kh);
        }
        public void KhachHang_Update(KhachHang kh)
        {
            khBAO.KhachHang_Update(kh);
        }
        public void KhachHang_Delete(KhachHang kh)
        {
            khBAO.KhachHang_Delete(kh);
        }
        public List<KhachHang> KhachHang_GetData()
        {
            return khBAO.KhachHang_GetData();
        }
        public List<KhachHang> KhachHang_SearchCustomer(string a)
        {
            return khBAO.KhachHang_SearchCustomer(a);
        }

        public DataView SelectViewAllKhachHang()
        {
            return khBAO.SelectViewAllKhachHang();
        }
    }
}
